<?php

namespace App\Services\PosApi\ShouQianBa\Operations;

use D1M\Payment\ShouQianBa\OperationInterface;

class RefundQueryOperation implements OperationInterface
{
    private $body;

    public function __construct($body)
    {
        $this->body = $body;
    }

    /**
     * @inheritDoc
     */
    public function getEndpoint()
    {
        return '/api/lite-pos/v1/sales/query';
    }

    /**
     * @inheritDoc
     */
    public function getRequestBody()
    {
        return $this->body;
    }

    public function getTraceId()
    {
        return trace_id();
    }

}